using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Xeneize.SolaraBL.CRM;

namespace WIntegrator.Pages.CRM
{
    public partial class CRMCreateDocumentFolder : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void BtnSubmit_Click(object sender, EventArgs e)
        {
            CRMFolder folder = new CRMFolder();
            folder.CompanyID = Convert.ToInt32(this.Request.QueryString["cc"]);
            folder.Description = this.txtFolderName.Text;
            folder.Save();
            folder = null;
        }
    }
}
